Verdict Decision takes state and a question and returns a yes/no probability, a choice between options, or a score. It doesn't generate text, so you have nothing to parse and can branch on the answer straight away.
{ "answer": "yes", "p": 0.94 }
Every call goes to POST /v1/decide. You set the type, and the response comes back in the matching schema every time.
{ answer: "yes" | "no"
p: number }
{ answer: Option
distribution: Record<Option, number> }
{ score: number
distribution: number[] }
Swap out a prompt-and-parse call for one typed decision. You get lower latency, a lower bill and one fewer thing to break.
verdict serve --decide --port 7070
https://api.verdictdecision.com/v1/decide